<app-head login="userIsLogin" ng-show="showNav"></app-head>

<wx-share></wx-share>
<div class="start_container start_mt5 start_loading">
	<div class="start_login">
		<h5 class="start_login_title">登录</h5>
		<a class="start_login_logo" href="#/home/index" >
			<img src="../meet/static/images/logo.png">
		</a>
		<div class="start_login_group">
			<label class="phone">手机号：</label>
			<input type="text" placeholder="填写手机号" ng-model="mobile" ng-change="input()" ng-keyup="loginKeyUp($event)">
		</div>
		<div class="start_login_group">
			<label class="password">密码：</label>
			<input type="password" placeholder="填写密码" ng-model="password" ng-keyup="loginKeyUp($event)">
		</div>
		<div class="start_login_group">
			<button ng-click="loginClick()">登录</button>
		</div>
		<div class="start_login_footer">
			<ul>
				<li class="start_register_icon"><a href="#/user/register">还没有帐号？</a></li>
				<li class="start_forget_icon"><a href="#/user/modifyPassword">忘记密码</a></li>
			</ul>
		</div>
	</div>
	<div class="start_adv_box">
		<img src="../meet/static/images/adv.jpg">
	</div>
</div>

<script type="text/javascript">
	(function(){
		var imgH = $(".start_adv_box").children("img").height();
		$(".start_adv_box").children("img").css("margin-top", (20*12 - parseInt(imgH))/2+"px");
		
		$(window).resize(function(){
			var imgH = $(".start_adv_box").children("img").height();
			$(".start_adv_box").children("img").css("margin-top", (20*12 - parseInt(imgH))/2+"px");
		})
	})
</script>